package com.codi.bus.core.service;

import com.codi.bus.core.domain.UserMsg;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by asus on 2018/4/13.
 */
public interface UserMessageService {
    Integer getCount(Long userId, Integer msgType);

    Integer getSysMessageCount(Long userId);

    Page<UserMsg> getMessage(Long userId, Integer msgType, Integer titleType, Pageable pageable);
}
